<?php

/**
 * Description of RequestLogger
 *
 * @author pahhan
 */
class Log_LoadingLogger extends Kohana_Log_File
{
    public function write(array $message)
	{
		$filename = $this->_directory.date('Y-m-d').'.txt';

        $msg = sprintf("\n%s: %s",
                date('H:i:s'),
                $message[0]);

        file_put_contents($filename, $msg, FILE_APPEND);

	}

}